package com.example.demo.generator.controller;

//import com.baomidou.mybatisplus.extension.api.R;
//import com.example.demo.generator.service.DbUserService;
//import com.example.demo.generator.service.TestService;
//import com.example.demo.generator.service.TuserService;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("test")
public class testController {

//    @Autowired
//    private DbUserService dbUserService;
//    @Autowired
//    private TestService testService;
//    @Autowired
//    private TuserService tuserService;
//
//    @GetMapping("test1")
//    public R test1(@RequestParam(defaultValue = "")Integer pageNum,@RequestParam(defaultValue = "")Integer pageSize){
//        return dbUserService.test(pageNum,pageSize);
//    }
//
//    @GetMapping("test2")
//    public R test2(@RequestParam(defaultValue = "")Integer pageNum,@RequestParam(defaultValue = "")Integer pageSize){
//        return testService.test(pageNum,pageSize);
//    }
//
//    @GetMapping("test3")
//    public R test3(){
//        return R.ok(tuserService.get());
//    }

}
